home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir34 / hack105.zip / DISKHACK.DOC next >
Text File  |  1994-08-10  |  17KB  |  296 lines

  1. ╒════════════════════════════∞∞∞∞∞∞∞∞══════════════════════════════════╕
  2. │  Another great program from:                                         │
  3. │                                                                      │
  4. │                                                                      │
  5. │   ┌─┬─────┐                                                          │
  6. │   │ │                                                                │
  7. │   └─┴───┬─┐ ┬┬ ┌┬─┬─┐ ┬┬──┐ ┬┬─   ┬┬──┐                              │
  8. │         │ │ ││ ││ │ │ │├──┘ ││    │├─                                │
  9. │   └─────┴─┘ ┴┴ ┴┴ ┴ ┴ ┴┴    ┴┴──┘ ┴┴──┘                              │
  10. │   ┌───┬─┬───┐                                                        │
  11. │       │ │                                                            │
  12. │       │ │     ┬┬──┐ ┌┬──┐ ┬┬  ┬ ┌┬─┐ ┬ ┬┬ ┌┬──┐ ┬┬  ┬ ┬┬──┐ ┌┬──┐    │
  13. │       │ │     │├─   ││    │├──┤ ││ │ │ ││ ││  │ ││  │ │├─   └┴─┬┐    │
  14. │       ┴─┴     ┴┴──┘ └┴──┘ ┴┴  ┴ ┴┴ └─┘ ┴┴ └┴─┼┘ └┴──┘ ┴┴──┘ └──┴┘    │
  15. │                                                                      │
  16. │                                                                      │
  17. │                                                                      │
  18. ╘══════════════════════════════∞∞∞∞∞∞∞∞════════════════════════════════╛ 
  19. /***************************DISKHACK.EXE**********************************/
  20.                   Copyright (C) 1994 John Hayes.
  21.  
  22. REGISTRATION :
  23.         To Register Send the appropriate amount in dollars or
  24.         Irish punts or Sterling Pound .....(US $30) by international
  25.         money order or cash (Banks screw you for changing foreign
  26.         cheques), to :-
  27.                 John Hayes.
  28.                   38 Shanganagh Grove,
  29.                     Shankill,
  30.                       Co. Dublin,
  31.                         Ireland,
  32.                           EUROPE.
  33.  
  34. NOTE :
  35.       DISKHACK was tested into the ground on CD-ROM's,Novell Networks
  36.       with INTERLNK and on over 30 PC's so if you Do find any 'bugs'
  37.       please send me a note as we couldn't, but no software is perfect
  38.       so I'm sure someone somewhere must know of some small problem.
  39.       (a few limitations maybe but no bugs....fingers crossed).
  40.  
  41. MAIN MENU :
  42.  
  43.    1.    FILES MENU.
  44.          Select this option if you wish to edit the contents
  45.          of any File or Directory ...all files are editable the 
  46.          read-only or any special file attributes are removed as
  47.          soon as you hit <Enter> to select the highlighted
  48.          File or Directory. (All files means files on DOS drives
  49.          and Novell Drives and CD-ROM Drives ...However you can't
  50.          save changes to files on a CD-ROM Drive...needless to say).
  51.          For Details of how to edit files and Directory's see...
  52.          "EDITING KEYS :" (below).
  53.  
  54.    2.    CALCULATOR.
  55.          The calculator can take input in 3 modes numbers typed in in
  56.          HEXADECIMAL(BASE 16),DECIMAL(BASE 10) and OCT(BASE 8)
  57.          and results are displayed in 4 modes base 16,base 10,base 8 and
  58.          (binary) BASE 2. To change the input mode use either TAB or the 
  59.          Arrow keys. Numbers entered may only be whole numbers no decimal 
  60.          point is accepted and results will always be whole numbers even 
  61.          with division you will only see the result and the Equation line
  62.          will display (<result> REMAINDER <remainder>) ,four operations
  63.          are accepted +,-,*,/  plus,minus,multiplyed by and division
  64.          When you initially enter a number either press enter or press
  65.          an operation if you press enter you will be asked for an operation
  66.          when you enter an operation the 'equation line' (which is always
  67.          displayed in base 10 no matter what the input mode)will display the 
  68.          equation so far i.e. "24 +" you then enter another number say 12 
  69.          and press enter,an operation(i.e. *) or "=" pressing "=" causes a 
  70.          result to be displayed and you must start a new equation all over 
  71.          again, pressing enter or an operation allows you to continue using 
  72.          the result for further compilation.
  73.            F5 at anytime restarts the calculator fresh.
  74.            ESC at anytime returns you to the main menu.
  75.  
  76.    3.    SEARCH FOR FILE.      
  77.          this option allows you to find a file(s) on the current drive
  78.          you may enter the whole file name i.e. CONFIG.SYS or use wild
  79.          card character such as ? and * 
  80.          if you enter the search pattern ?ONFIG.SYS  all files
  81.          beginning with any character and ending with ONFIG.SYS will be
  82.          located including hidden and system files. i.e
  83.          RONFIG.SYS CONFIG.SYS AND XONFIG.SYS would all be found
  84.          use of the * wild card character replaces may characters
  85.          i.e using the search pattern CON*.*
  86.          will locate all of the following files CONFIG.SYS CONTINUE
  87.          CON.1 AND CON.MAN
  88.          ESC at any stage ends the search.
  89.  
  90.    4     CHANGE DRIVE.
  91.          When you select this option all available Drives are displayed
  92.          the current Drive is Highlighted use the arrow keys
  93.          to select a new drive and press <Enter> to change to the new
  94.          Drive or Press the appropriate key i.e. 'A' key for the A: drive.
  95.          ESC key exits change drive back to the main menu without changing 
  96.          the current drive.
  97.  
  98.    5     CHANGE DIRECTORY.
  99.          This option allows you to change the current working Directory
  100.          the available keys in this option are page up and down and the 
  101.          four arrow keys when you highlight the directory you want just press
  102.          <Enter> and you are returned to the main menu if you then choose the
  103.          Files menu you may edit any of the files in the current directory
  104.          or the Sub-directories(sub directory names are in capitals).
  105.          ESC key returns you to the main menu without changing the current 
  106.          Directory.
  107.             Change Directory has two major steps building the tree
  108.          and then displaying it and allowing you to move around the tree
  109.          selecting a new directory. Notably on large novell drives
  110.          the 'building tree' part can take up to 1 minute the tree
  111.          is actually written to a file in the Root directory of the
  112.          C: drive i.e. if changing directory on the F: a file c:\treef.tmp
  113.          will be created, B: drive c:\treeb.tmp ,when you exit DISKHACK
  114.          these files are usually deleted which can be a waste but by the
  115.          next time diskhack is run there may be new sub-directories
  116.          so it is necessary, to save time if you use DISKHACK often
  117.          create a file called NODELETE.TXT if this file is present in the 
  118.          same directory as DISKHACK.EXE resides the C:\tree*.tmp
  119.          files will not be deleted (note files c:\tempa.tmp and c:\tempb.tmp 
  120.          are always deleted as these are assumed to be floppy drives and 
  121.          directory structure is more likely to change for each new floppy
  122.          inserted).
  123.          
  124.    6.   EDIT SECTOR.
  125.          Within this option there is a further menu with 3 option.
  126.         6.1 Edit Sector
  127.         6.2 Edit Cluster
  128.         6.3 Absolute Sector
  129.  
  130.         6.1 and 6.2 
  131.          MSDOS and PCDOS divides a disk into sectors each one usually 512
  132.          bytes long. A hard disk is made up of sides(heads),cylinders 
  133.          and Sectors DOS doesn't bother the User with finding out which
  134.          Head(s),cylinder(S) and Sector(s) a file is stored on it just 
  135.          numbers Sectors Sequentially i.e. 1 to 1000. On a Hard disk side 0
  136.          cylinder 0 and sector 1 contains a special table called a 
  137.          partition table you may only have one hard disk in a machine
  138.          but you may find you still have a C: and D: and even a E: drive
  139.          all these drives may be stored on the one physical hard disk but 
  140.          logical the are separate drives. The partition table stores where
  141.          each partition on the hard disk start and ends, The DOS
  142.          utility FDISK usually creates this for you and decides which
  143.          drive you will bootup from. Say we now have 3 partitions on our hard
  144.          disk  C: D: E: each DOS drive, in the first sector of the partition 
  145.          sector 0 (called the boot Sector) is a table of data which
  146.          tells us where the rest of the DOS structures are located .i.e. 
  147.          a typical DOS partition :-
  148.             sector
  149.               0           Boot Partition
  150.               1-20        File allocation table (FAT 1)
  151.               21-40       File allocation table (FAT 2) exact copy of FAT 1.
  152.               41-55       Root DIrectory
  153.               56-99998    Data Area (where files are stored and sub-directories)
  154.          The Boot Sector will tell us where the rest of the DOS elements
  155.          are and if it also tells us if this is a DOS partition it may be
  156.          a XENIX or some other operating system's partition and it also tells
  157.          if the drive is bootable.
  158.          The Fat table on a hard disk is usually a 16 bit FAT i.e. 2 bytes
  159.          are used per cluster ( a cluster is group of sequentially numbered
  160.          sectors cluster numbers start at 2) each file on a dos disk has
  161.          a directory entry in this entry is stored the starting cluster
  162.          of the file in the DOS partition if a file is larger than one
  163.          cluster in size dos uses the FAT table to tell were the next cluster
  164.          in the file is stored ,floppy work in the same way but floppies only
  165.          have 2 sides and each entry in the FAT table only uses up 1.5 bytes.
  166.          The Root directory contains an entry for each file and sub directory 
  167.          in the root the structure can be seen by going into the 'FILES MENU'
  168.          selecting a directory either . or .. or a file whose name is 
  169.          displayed in uppercase and press <Enter> the file is initial
  170.          displayed in hex mode press F4 and the sector is mapped as in 
  171.          directory structure format.
  172.  
  173.          6.3 ABSOLUTE SECTOR
  174.          You may bypass dos's disk structure and access the sectors on the
  175.          disk by head,cylinder and sector ....head 0,cylinder 0,
  176.          sector 1 is the first sector on the disk and head 15,cylinder 700
  177.          sector 9 might be the last sector. Diskhack will only allow
  178.          hard disk's (not floppies) to be accessed in this way but floppies
  179.          still have two sides(heads) cylinders and sectors. DISKHACK
  180.          will only recognise at max. 2 physical hard disks per machine.
  181.          (not partitions but physical disks in a machine).
  182.  
  183. EDITING KEYS:
  184.          You may end up at the Edit screen via the files menu,the or any
  185.          of the sector edit facilities(EDIT SECTOR,EDIT CLUSTER,
  186.          ABSOLUTE SECTOR). The initial screen you see  has two sizes
  187.          one shows the contents of the current sector or current 512 bytes of
  188.          a file being edited in hexadecimal the other size shows the
  189.          ASCII symbols for each hex value you may edit in either mode
  190.          just press the TAB key to change modes the arrow keys allow
  191.          you to move about to the bytes you wish to edit and then overtype
  192.          with the new value after you have made changes you may press F8
  193.          to save the changes or press page down or page up if any data
  194.          has be altered you will  be prompted to 'save changes' type 'Y'
  195.          or 'N' as you wish.
  196.             FUNCTION KEY ASSIGNMENTS.
  197.          this is where difference occur depend on which menu you originally
  198.          came from if you came from the files menu :-
  199.  
  200.      WHEN EDITING A FILE :      
  201.      
  202.            F1 - shows you a quick guide to F key assignments.
  203.            F2 - well this is the usuall screen edit in hex mode
  204.            F3 - if you press this key the screen changes to display
  205.                 the files ASCII codes as they would be interpreted if
  206.                 displayed on a screen i.e carriage returns and tab characters
  207.                 or not shown they just cause the a line feed or an indentation
  208.                 etc. You mat not chance any Data on this screen press F2 or
  209.                 F4 or ESC to continue pageup and down are also available.
  210.            F4 - This key invokes the search facility you  can search for
  211.                 text i.e. type in 'john' and press enter if the file contains
  212.                 the words 'john' in either upper or lowercase or a mixture it
  213.                 will be found. You may also search for hex values i.e
  214.                 carriage return hex values 10 and 13 press F4 hold down the
  215.                 ALT key on the numeric keypad (make sure numlock is ON)
  216.                 press 1 and then 0 then release the ALT key and do the
  217.                 same for 13 press enter and the values if they exist will be
  218.                 found and highlighted.
  219.            F5 - if you do a search and the text is found you can try to
  220.                 find it again buy pressing F5.
  221.            F6 - Display ascii codes (not always available).
  222.            F8 - Save changes
  223.  
  224.        
  225.        FUNCTION KEY ASSIGNMENTS.
  226.        WHEN EDITING A DIRECTORY OR SECTOR OR CLUSTER.    
  227.        
  228.            F1 - help gives a short list of key assignments
  229.            F2 - as before edit in hex or text mode.
  230.            F3 - as before 'view only' not data changes ...view in text mode.
  231.            F4 - EDit as a directory if we are editing a directory or
  232.                 a sector which may be part of a directory we may wish
  233.                 to see what the hex values actually mean to DOS.
  234.                 Edit as directory allows you to change the files names
  235.                 size creation date or time(time can only be stored to the 
  236.                 closest 2 seconds a DOS limitation) or change a files
  237.                 attributes just toggle the attributes with the <ENTER> key.
  238.            F5 - map as FAT allows editing of the FILE ALLOCATION TABLE
  239.                 in the same format as DOS view the FAT table.
  240.            F6 - Edit as DISK PARTITION TABLE shows the way cylinder
  241.                 0,head 0 sector 1 of a hard disk is interpreted by dos
  242.                 you may change the bootup drive by using the arrow keys
  243.                 and the <enter> key.(only available from edit as hex screen).
  244.            F7 - shows how the boot sector (sector 0) of a logical DOS 
  245.                 partition is interpreted by DOS use also to map out
  246.                 sector 0 on a floppy disk. You may only view values using
  247.                 the map not edit.(only available from edit as hex screen - F2). 
  248.            F8 - Save changes.
  249.            F9 - Display ascii codes (not always available).
  250.  
  251. NOTES ON EDITING A DIRECTORY :
  252.         You may map out a sector to show you the way MS-DOS sees the
  253.         sector if the sector is part of a directory by pressing F4. You
  254.         may editing all fields you must overtype the value of the
  255.         currently highlighted field and press <enter> to accept the changes.
  256.         To change the attributes of a file or directory you toggle the 
  257.         attribute by hitting <enter> i.e. a system file or not a system file,
  258.         or a hidden file etc. Use the arrow keys to select the field you wish
  259.         to edit. All filenames and directory names should be typed in upper
  260.         case but for you're own reason you may want to rename the directory 
  261.         with lower case names (for security - msdos can't access lowercase
  262.         named directories ). When finished editing you may press F8 to
  263.         save or press page down you will be prompted to 'save changes y/n'
  264.         Y saves changes needless to say and as long as you're not mental
  265.         impaired I'm sure you can figure out what 'N' does.
  266.         
  267. NOTES ON EDITING THE FAT (File Allocation Tables).
  268.         You may edit both 12 bit and 16 bit FAT types when editing a 
  269.         sector of a FAT press F5 and the Fat will be mapped out as
  270.         MS-DOS views it each cluster can be editing position the
  271.         cursor at the cluster entry you wish to  change and enter a
  272.         number a dialogue box will appear and enter the new value
  273.         press enter and the old value is updated. Press F8 to save the
  274.         changes.
  275.  
  276. MOUSE SUPPORT:
  277.         Diskhack the unregistered version offer limited mouse support
  278.         only when running WINDOWS AND MOUSE.COM is loaded the control
  279.         keys are 
  280.             left button  = <Enter> Key (menu option select)
  281.             Right button = ESC Key  (escape)...i.e. (return to last menu)
  282.  
  283. NOTE :
  284.       Any queries bugs or comments-enhancements you would like to
  285.       see send me a note either by net mail or by post to the address
  286.       contained in diskhack.
  287.       Note that most dates mentioned in DISKHACK.EXE are in the European
  288.       format as this has caused some of our American friends a few
  289.       problems.
  290.       DISKHACK contains code to provent tampering and from alteration
  291.       by Viruses, this may slow start up slightly but the benefits to
  292.       the user should outway the inconvience.
  293.  
  294.          
  295.  
  296.